/* 
 * Copyright (c) 2009 Keith Lazuka
 * License: http://www.opensource.org/licenses/mit-license.html
 */
@interface TodaysPlan : NSObject
{
    int pkey;
    NSDate *date; 
    NSString *task;
    NSString *memo;
    NSString *priority;
    NSString *done;
    NSString *reminderDate;
    BOOL reminder;
}

@property (nonatomic, readonly) int pkey;
@property (nonatomic, retain, readonly) NSDate *date;
@property (nonatomic, retain, readonly) NSString *task;
@property (nonatomic, retain, readonly) NSString *memo;
@property (nonatomic, retain, readonly) NSString *priority;
@property (nonatomic, retain, readonly) NSString *done;
@property (nonatomic, retain, readonly) NSString *reminderDate;
@property (nonatomic, readonly) BOOL reminder;

//+ (TodaysPlan*)holidayNamed:(NSString *)name country:(NSString *)country date:(NSDate *)date;
+ (TodaysPlan*)holidayNamed:(int)pkey date:(NSDate *)date task:(NSString *)task memo:(NSString *)memo priority:(NSString *)priority done:(NSString *)done reminderDate:(NSString *)reminderDate reminder:(BOOL)reminder;
- (id)initWithName:(int)pkey date:(NSDate *)date task:(NSString *)task memo:(NSString *)memo priority:(NSString *)priority done:(NSString *)done reminderDate:(NSString *)reminderDate reminder:(BOOL)reminder;
- (NSComparisonResult)compare:(TodaysPlan *)otherHoliday;

@end
